import request from '@/utils/request'

let baseMapping = "/order_service/";

export default {

  //课程订单列表
  getList(current, limit, order) {
    return request({
      url: baseMapping + `getOrder/${current}/${limit}`,
      method: 'post',
      data: order
    })
  },

  //删除订单
  delete(id) {
    return request({
      url: baseMapping + `deleteOrder/${id}`,
      method: 'get'
    })
  }
}
